package com.info.zhiduoduo.pay.sdk.zhaoshangbank.model.request.tradebulter.detail;

import com.google.common.collect.Lists;
import com.info.zhiduoduo.pay.formbean.zhaoshangtradebulter.DeleteSubLedgerFormBean;
import com.info.zhiduoduo.pay.formbean.zhaoshangtradebulter.QuerySubLedgerBalanceFormBean;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class DeleteSubLedgerAccountNoInfo {

	/** 账号	accnbr	String(35)	Y */
	private String accnbr;

	public static List<DeleteSubLedgerAccountNoInfo> ofList(DeleteSubLedgerFormBean formBean) {
		List<DeleteSubLedgerAccountNoInfo> list = Lists.newArrayList();
		DeleteSubLedgerAccountNoInfo info = new DeleteSubLedgerAccountNoInfo().setAccnbr(formBean.getAccountNo());
		list.add(info);
		return list;
	}
}
